<div id="news_list_section" name="news_list_section">
All news: <br />
<table border="1" cellspacing="1px" cellpadding="10px "align="center" width="100%">
    <tr> 
        <th width="15%"> Time created </th>
        <th width="15%"> Last modified</th>
        <th width="40%"> Title </th>
        <th width="5%"> Hide  </th>
        <th width="5%"> Order </th>
        <th width="5%"> Publish </th>
        <th width="15%" colspan="3" align="center"> Action</th>
    </tr>
    <{while $news_list->fetch()}>
    <tr>
        <td align="center" width="15%"> <{$news_list->news_time}> </td>
        <td align="center" width="15%"> <{$news_list->news_modified}> </td>
        <td width="40%"> <{$news_list->news_title}> </td>
        <td align="center" width="5%"> <{$news_list->news_hide}> </td>
        <td align="center" width="5%"> <{$news_list->news_order}></td>
        <td align="center" width="5%"> <{$news_list->news_homepage}></td>
        <td align="center" width="5%"> <a href="javascript:editNews(<{$news_list->news_id}>,'<{$news_list->news_title}>')" title="Edit" class="link_edit" /></td>
        <td align="center" width="5%"> <a href="javascript:deleteNews(<{$news_list->news_id}>,'<{$news_list->news_title}>')" title="Delete" class="link_delete" /></td>
        <{if $news_list->news_homepage}>
            <td align="center" width="5%"> <a href="javascript:toggleNewsPublish(<{$news_list->news_id}>,<{$news_list->news_homepage}>)" title="Unpublish this news from homepage" class="link_unpublish" /></td>
        <{else}>
            <td align="center" width="5%"> <a href="javascript:toggleNewsPublish(<{$news_list->news_id}>,<{$news_list->news_homepage}>)" title="Publish this new to homepage" class="link_publish" /></td>
        <{/if}>    
    </tr>
    <{/while}>
</table>
</div>